package com.xjrsoft.module.customer.erp_model.eRP_OutStock.vo;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import com.xjrsoft.common.Enum.TransDataType;
import com.xjrsoft.common.annotation.DataTrans;
import io.swagger.annotations.ApiModel;

/**
 * 视图实体类
 *
 * @author pp
 * @since 2021-10-08
 */
@Data
@ApiModel(value = "列表ErpStockoutstockVo对象", description = "列表ErpStockoutstockVo对象")
public class ErpStockoutstockListVo {

    @JsonProperty("F_Id")
    private String fId;

    @JsonProperty("F_OutStockCode")
    private String fOutstockcode;

    @JsonProperty("F_OutStockDate")
    private LocalDateTime fOutstockdate;

    @JsonProperty("F_WarehouseId")
    @DataTrans(dataType = TransDataType.DATA_SQL, dataCode = "localDB", sql = "SELECT w.F_Id,w.F_FullName FROM erp_warehouse w", savedField = "F_Id", showField = "F_FullName", multi = false)
    private String fWarehouseid;

    @JsonProperty("F_Description")
    private String fDescription;

    @JsonProperty("F_AuditMark")
    private Integer fAuditmark;

    @JsonProperty("F_InvalidMark")
    private Integer fInvalidmark;

    @JsonProperty("F_InvalidTime")
    private LocalDateTime fInvalidtime;

    @JsonProperty("F_InvalidUserId")
    @DataTrans(dataType = TransDataType.USER, multi = false)
    private String fInvaliduserid;


    @JsonProperty("flowStatus")
    private String flowStatus;

    @JsonProperty("nwfSchemeinfoId")
    private String nwfSchemeinfoId;

    @JsonProperty("formId")
    private String formId;
}
